        <div class="modal-header modal-header-danger">
         <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
        <h1><i class="glyphicon glyphicon-pencil"></i> Editar información de Insumo</h1>
        </div>
                <div class="panel-body">
            
                    {{ Form::open(array('url' => 'insumos/' . $insumos->id, 'method'=>'put')) }}

                    <p>
                     Nombre {{Form::text("nombre", $value = $insumos->nombre, array('class'=>'form-control'))}}
                    </p>

                    <p>
                    <td>Codigo Insumo {{Form::text("cod_insumo", $value = $insumos->cod_insumo, array('class'=>'form-control'))}}</td>
                    </p>

                    <p>
                    <td>Tipo Insumo: </td>
                     <td>{{Form::select('id_tipo_insumo',array('0' => 'Seleccione')+TiposInsumos::lists('tipo','id'),null,array('class' => 'form-control','required'))}}</td>
                    </p>

                    <p>  
                    <td>Descripcion: </td>
                    <td>{{Form::textArea("descripcion", $value = $insumos->descripcion, array('class'=>'form-control'))}}</td>   
                    </p>    

                <p>
                    <td> Unidad </td>
                    <td>{{Form::select('id_unidad',array('0' => 'Seleccione')+Unidades::lists('unidad','id'),null,array('class' => 'form-control','required'))}}</td>
                </p>
                 <div class="modal-footer"> 
                    <button type="submit" class="btn btn-warning" style="width: 30%"><span class="glyphicon glyphicon-ok-sign"></span> Guardar</button>
                    <button type="button" class="btn btn-default" style="width: 30%" data-dismiss="modal"><span ></span> Regresar</button>

                </div>           
             
        </div>    
           {{ Form::close() }}
  @section('modal')
  @stop
 </html>
           
